home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / VGADOC4B.ZIP / MXIC.TXT < prev    next >
Text File  |  1995-09-29  |  3KB  |  94 lines

  1. MX 86000   512K, 800x600x256c/1024x768x16c
  2. MX 86010   1MB, 1024x768x256colors
  3.  
  4.  
  5. Support chips:
  6. MX8602   Clock chip. Supplies 25.175, 28.322, 40,44.9, 14.3, 16.3, 36, 65 MHz
  7.  
  8.  
  9. 3C4h index 26h (R/W):
  10. bit   0  Set for MX86000, clear for MX86010
  11.  
  12. 3C4h index 30h-33h (R/W):  Scratch
  13. Note: used by MXIC utilities to store the old IRQ 2 interrupt address.
  14.  
  15. 3C4h index 34h (R/W):
  16. bit 0-1  Monitor type: 0=VGA, 1=8514A, 2=NEC 3D, 3=NEC 4D
  17.  
  18. 3C4h index 65h (R/W):
  19. bit   6  Set to enable access to extended registers (3C4h index 8-FFh).
  20.  
  21. 3C4h index 90h (R/W):
  22. bit 0-1  ??
  23.  
  24. 3C4h index A7h (W?):  Enable extensions
  25. bit 0-7  Writing 87h to this register enables the MXIC extensions,
  26.          writing 0 disables them.
  27.  
  28. 3C4h index C2h (R/W):
  29. bit 2-3  Video RAM installed: 0=256k, 1=512k, 2=1M
  30.  
  31. 3C4h index C3h (R/W):
  32. bit   2  Set to enable banked access via index C5h.
  33.       3  If set doubles image horizontally
  34.       7  Bus width?. 0=8 bit, 1=16 bit.
  35.  
  36. 3C4h index C4h (R/W):
  37. bit   0  Clock Select bit 2 (bits 0-1 are in 3C2h/3CCh bits 2-3)
  38.       3  Select Memory Clock for Video Clock ?
  39.     6,7  Disables display if set
  40.  
  41. 3C4h index C5h (R/W):  Bank register
  42. bit 0-3  Write bank in 64k blocks.
  43.     4-7  Read bank in 64k blocks
  44.  
  45. 3C4h index F0h (R/W):
  46. bit 0-1  3 if interlaced, 0 if not.
  47.       3  If clear the display will wrap at 256K.
  48.       4  If set display width or scanline width is slightly wrong ?
  49.       7  Disables display if set
  50.  
  51. 3C4h index F1h (R/W):
  52. bit 0-1  Display Start Address bit 16-17
  53.  
  54. 3C4h index F2h (R/W):
  55. bit   7  Set if IRQ2 enabled, clear if not.
  56.  
  57. 3C4h index F3h (R/W):
  58. bit   0  Scrambles display if set ?
  59.       1  Vertical overflow ?
  60.       2  Disables display if set
  61.       3  If set the same (random ?) line is repeated down the entire screen
  62.       5  Disables display if set
  63.       6  If set the same (random ?) line is repeated down the entire screen
  64.       7  If set image looses vertical sync ??
  65.  
  66. Apparently the sequencer (3C4/5h) does not decode bit 3-4 of the index, thus
  67. index 7 is duplicated at 0Fh, 17h and 1Fh.
  68.  
  69.  
  70. Test for MXIC chip:
  71.  
  72. old:=rdinx($3C4,$A7);
  73. wrinx($3C4,$A7,0);     {Disable extensions}
  74. if not testinx($3C4,$C5) then
  75. begin
  76.   wrinx($3C4,$A7,$87);
  77.   if testinx($3C4,$C5) then
  78.     if (rdinx($3C4,$26) and 1)=0 then MXIC MX86010
  79.                                  else MXIC MX86000
  80. end;
  81. wrinx($3C4,$A7,old);
  82.  
  83.  
  84.   Video modes:
  85.     50h  T   132   25   16  (8x16)
  86.     51h  T   132   30   16  (8x16)
  87.     55h  G   800  600   16  PL4
  88.     56h  G  1024  768   16  PL4
  89.     57h  G   640  350  256  P8
  90.     58h  G   640  400  256  P8
  91.     59h  G   640  480  256  P8
  92.     5Ah  G   800  600  256  P8
  93.     5Bh  G  1024  768  256  P8
  94.